package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.BaseBgtEco;
import com.open.capacity.reimburse.entity.BasePayItemBgtEco;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 支出事项-经济科目
 *
 * @author
 * @email
 * @date 2023-11-01 09:38:38
 */
@Mapper
public interface BasePayItemBgtEcoDao {

    int save(BasePayItemBgtEco basePayItemBgtEco);

    int delete(String id);

    int deleteByPayitemId(String payitemId);

    int exists(@Param("payitemId") String payitemId, @Param("bgtecoId") String bgtecoId);

    List<BaseBgtEco> findByPayitemId(String payitemId);

}
